# Author:sp
# CreaTime: $(DATE)
# FileName: $(NAME)
# Description: simple introdution of the code
class Student():
    def __init__(self,stu_name,stu_age,stu_gender,stu_score):
        self.stu_name=stu_name
        self.stu_age=stu_age
        self.stu_gender=stu_gender
        self.stu_score=stu_score
    def show(self):
        return self.stu_name,self.stu_age,self.stu_gender,self.stu_score
if __name__=='__main__':
    print('请输入5位学生的信息：（姓名#年龄#性别#成绩）')
    lst=[]
    for i in range(0,1):
        stu=input(f'请输入第{i+1}位学生的信息')
        a=stu.split('#')
        #创建学生对象
        stu1=Student(a[0],a[1],a[2],a[3]) #对象的实例，传入的实例属性
        lst.append(stu1)
    for item in lst:
        print(item.show())
